AdvancedAds\Ads\Ad_Repository A

Total Complexity 63
Dependencies 9
Dependents 5
Total lines 462
Lines of code 263
Logical lines of code 121
Comment lines 133
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
update_post_meta()
A
43 15 46
migrate_values()
A
46 9 37
create()
S
51 7 25
update()
S
46 4 40
read_ad_data()
S
53 5 24
read()
S
56 4 18
delete()
S
62 4 12
get_ads_by_placement_id()
S
64 3 11
get_all_ads()
S
63 3 11
query()
S
60 2 14
get_ads_dropdown()
S
64 2 10
update_version()
S
72 2 5
get_ad_by_id()
S
80 1 3
get_ads_by_group_id()
S
76 1 4
get_ads_by_type()
S
82 1 3